package com.woniuxy.credit_loans.staff_dong.service;

import com.woniuxy.credit_loans.entity.Emp;
import com.woniuxy.credit_loans.staff_dong.dto.EmpDto;
import com.woniuxy.credit_loans.staff_dong.vo.EmpVo;

import java.util.List;

public interface EmpService {

    int deleteByPrimaryKey(Long id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    Emp login(EmpDto empDto);

    List<Emp> selAll();

    List<Emp> selAllProductLeaders();

    List<EmpVo> selectByLike(EmpDto empDto);

}
